package com.wx.chapter11.annotation_;

/**
 * @Author : 佩萁
 * Description :
 * @Create : 2023/6/13 - 20:50
 */
public class Override_ {
    public static void main(String[] args) {
        Son son = new Son();
        son.say();
    }
}

class Father {
    public void fly() {
        System.out.println("Father fly...");
    }

    public void say() {
        System.out.println("Father say");
    }
}

class Son extends Father {
    @Override
    public void fly() {
        System.out.println("Son fly....");
    }

    @Override
    public void say() {
    }
}